package com.tc.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jcd
 * @since 2025-07-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("drug_reimbursement_ratio")
@ApiModel(value = "药品报销比例对象", description = "药品报销比例")
public class Drug_reimbursement_ratio implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "ratio_id", type = IdType.AUTO)
    private Long ratioId;

    /**
     * 药品类型（甲/乙/丙）
     */
    @ApiModelProperty(value = "药品类型（甲/乙/丙）")
    @TableField("drug_type")
    private String drugType;

    /**
     * 报销比例（如100.00=100%）
     */
    @ApiModelProperty(value = "报销比例（如100.00=100%）")
    @TableField("reimbursement_ratio")
    private BigDecimal reimbursementRatio;

    /**
     * 状态（启用/停用）
     */
    @ApiModelProperty(value = "状态（启用/停用）")
    @TableField("status")
    private String status;

    /**
     * 说明
     */
    @ApiModelProperty(value = "说明")
    @TableField("description")
    private String description;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;
    
    /**
     * 逻辑删除标志（0-未删除，1-已删除）
     */
    @ApiModelProperty(value = "逻辑删除标志（0-未删除，1-已删除）")
    @TableLogic
    @TableField("deleted")
    private Integer deleted;
}
